Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

您所在的位置:网站首页 pip python27 Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

Where does PIP Store / Save Python 3 Modules / Packages on Windows 8?

2023-03-31 10:39| 来源: 网络整理| 查看: 265

It depends on how/where your python was installed.

For example:

if you are using Conda for your python, you will most likely find your packages in the default location of: c:\users\\miniconda3\lib\site-packages Whereas, if you installed Python3.8 as a stand-alone, you will find it under: C:\Users\\AppData\Roaming\Python\Python38\site-packages\

where if you install a simply pip package (that did not use any specific locations), and just having some scripts, it will end up in:

C:\Python38\Scripts\

Noting that if the script depend on libraries, it will probably not work, as they will not be found from this location, if installed on Windows, and not taking this into account.

Or if you used Cygwin, they'll end up in one of: /usr/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages

Again, you best bet is to check with:

pip -V pip list -v

There is also a pip package called pip-date that contain a utility called pipbyday that will show you the location of each package and the installation time.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3